/*
 * @Author: error: git config user.name && git config user.email & please set dead value or install git
 * @Date: 2022-05-15 11:18:39
 * @LastEditors: 卓晓松 729519678@qq.com
 * @LastEditTime: 2022-07-28 16:17:00
 * @FilePath: \ericzhang\Rashipier_Monitor\myapp\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入第三方mitt库
import mitt from 'mitt'

// 应用flex插件
import "lib-flexible/flexible.js"
import "echarts-liquidfill"

const bus = mitt()

const app = createApp(App)
// 设置中央事件中线
app.config.globalProperties.$bus = bus



app.use(store).use(router).mount('#app')
